package com.xxx.service.impl;

import com.xxx.entity.Users;
import com.xxx.mapper.UserMapper;
import com.xxx.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    //
    @Autowired
    private UserMapper userMapper;


    // 后台登录
    @Override
    public Users adminLogin(Users users) {
        return userMapper.find(users);
    }
}
